package chenji.moreitemfunapi.textures;

import chenji.moreitemfunapi.textures.info.TextureInfo;

public class TextureUpdateInfo {
	protected String name;
	protected TextureInfo info;
	public static TextureUpdateInfo getInfo(TextureInfo info, String texturename) {
		if (info.getTextures().contains(texturename)) {
			TextureUpdateInfo infoa = new TextureUpdateInfo();
			infoa.name = texturename;
			infoa.info = info;
			return infoa;
		} else {
			return null;
		}

	}
}
